﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Passport.Domain
{
    // 表示供应商信息的类
    // Represents the supplier information class
    public class SupplierModel
    {
        [Key]
        /// <summary>
        /// 供应商编号，使用 int 类型
        /// Supplier ID, using int type
        /// </summary>
        public int SupplierId { get; set; }

        /// <summary>
        /// 供应商名称
        /// Supplier name
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 供应商状态
        /// Supplier state
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// 供应商电话
        /// Supplier phone number
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 供应商传真
        /// Supplier fax number
        /// </summary>
        public string Fax { get; set; }

        /// <summary>
        /// 供应商邮箱
        /// Supplier mailbox
        /// </summary>
        public string Mailbox { get; set; }

        /// <summary>
        /// 供应商联系人
        /// Supplier contact person
        /// </summary>
        public string Linkman { get; set; }

        /// <summary>
        /// 供应商地址
        /// Supplier address
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 供应商描述
        /// Supplier description
        /// </summary>
        public string Describe { get; set; }
    }
}
